
<label>
  <input [type]="type" accept="image/*;capture=camera" (change)="onChange($event)">
</label>
<!--<input #file type="text" (change)="onChange(file)">-->
<div class="image">
  <img [src]="fileUrl"/>
</div>

